<?php
error_reporting(E_ALL);
define('APP_PATH',realpath(dirname(__FILE__)));
define('DATA_DIR',APP_PATH."/data");
define('__PUBLIC__',"http://127.0.0.1:8081/phalcon_store/Public");
try {
    include APP_PATH . "/app/base/kernel.php";
    /**
     * Handle the request
     */
    $application = new \Phalcon\Mvc\Application($di);
    echo $application->handle()->getContent();
} catch (\Exception $e) {
    echo $e->getMessage() . '<br>';
    echo '<pre>' . $e->getTraceAsString() . '</pre>';
}

